package StudyCode.summary.Basic.numberformat;

import java.util.Formatter;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class FormatterOutput {
	public static void main(String[] args) {
		Formatter formatter = new Formatter();
		formatter.format("%d = %#o = %#X", 10, 10, 10);
		System.out.println("使用Formatter类格式化输出:");
		System.out.println(formatter.toString());
	}
}
